package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.entity.AbdulBaseEntity;
import com.ruoyi.system.util.AbdulEmptyUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("sy_bill_lading_details")
@ApiModel("开单明细实体类")
public class SyBillLadingDetails extends AbdulBaseEntity {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("顾客人数")
    private Integer numberCustomers;

    @ApiModelProperty("台费规则")
    private String taiwanFeeRules;

    @ApiModelProperty("服务费规则")
    private String serviceFeeRules;

    @ApiModelProperty("开单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date openingTime;

    @ApiModelProperty("等客时长（分钟）")
    private Double waitingTime;

    @ApiModelProperty("开单员工")
    private String billingStaff;

    @ApiModelProperty("服务员工")
    private String serviceStaff;

    @ApiModelProperty("关联会员")
    private String associatedMember;

    @ApiModelProperty("自动预结账(xx小时xx分钟)")
    private String automaticCheckoute;

    @ApiModelProperty("传统预订明细编号（关联）")
    private String traditionalReservationdetailNumber;

    @ApiModelProperty("开单方式 1-直接开单 2-预订开单")
    private Integer openingMethod;

    @ApiModelProperty("门店id")
    private Long storeId;


    //DTO
    @ApiModelProperty("桌台分类")
    @TableField(exist = false)
    private String deskClassification;

    @ApiModelProperty("桌台")
    @TableField(exist = false)
    private String desk;


}
